package com.dq.eduservice.service;

import com.dq.eduservice.entity.EduCourseDescription;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * 课程简介(EduCourseDescription)表服务接口
 *
 * @author Dq
 * @since 2022-07-22 19:49:26
 */
@Transactional
public interface EduCourseDescriptionService  extends IService<EduCourseDescription> {

    /**
     * 添加课程描述
     * @param courseDescription
     * @return
     */
    public Integer addCourseDescription(EduCourseDescription courseDescription);

    /**
     * 根据课程id删除课程描述
     * @param courseId
     */
    void deleteCourseDescriptionByCourseId(String courseId);
}